//========encoding:utf-8=========
/*
 * @describe:  三目运算符
 * @author:mhao
 * @copyright:chinasoft.cn
 * @date:2020年3月24日   下午11:27:08
 */
package edu.chinasoft.domain;

import javax.validation.constraints.Size;

public class User {
	@Size(max=8,min=6,message="{user.name.error}")
	private String name;
	@Size(max=8,min=6,message="{user.password.error}")
	private String password;
	public User() {
	}
	public User(String name, String password) {
		this.name = name;
		this.password = password;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	

}
